package org.ice4apps.talk.entity;


import java.io.Serializable;
import java.util.Date;

public class History implements Serializable {
	private String message;
	private int id;
	private User user;
	
	private Date timestamp;
	private Integer version;
	
	public Date getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}
	
    public Integer getVersion() {
        return version;
    }

    private void setVersion(Integer version) {
        this.version = version;
    }
    
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	public int getId() {
	     return id;
	}
	public void setId(int id) {
	     this.id = id;
	}
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
